package com.young.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Description: 新增菜单类
 * @Author: kangyang
 * @Date: 2021/5/16 15:59
 **/
@Data
public class AddMenuReq {

  private Long menuId;

  @ApiModelProperty(value = "父Id")
  private Long parentId;

  @ApiModelProperty(value = "菜单名称", required = true)
  private String name;

  @ApiModelProperty(value = "菜单路由")
  private String url;

  @ApiModelProperty(value = "授权标识")
  private String perms;

  @ApiModelProperty(value = "类型，0目录，1菜单，2按钮")
  private Integer type;

  @ApiModelProperty(value = "菜单图标")
  private String icon;

  @ApiModelProperty(value = "排序号")
  private Integer orderNum;

  private Boolean isDelete = Boolean.FALSE;

}
